#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int a = 0, b = 0;
	for (a = 100; a < 201; a++)
	{
		int c = 1;
		for (b = 2; b < a; b++)
		{
			
			if (a % b == 0)
			{
				c = 0;
					}
			break;
		}
		if (c == 1)
			printf("%d ", a);
	}
	return 0;
}